import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:oral_cloud/config/app_config.dart';

class Constant {

  static const String kLoginName = 'kLoginName';
  static const String kLoginStatue = 'kLoginStatue';
}


class FontSize{
  static double fontSizeM=AppConfig.isPad?ScreenUtil.getInstance().setSp(20):ScreenUtil.getInstance().setSp(30);
  static double fontSizeL=AppConfig.isPad?ScreenUtil.getInstance().setSp(24):ScreenUtil.getInstance().setSp(36);
  static double fontSizeXL=AppConfig.isPad?ScreenUtil.getInstance().setSp(30):ScreenUtil.getInstance().setSp(42);
  static double fontSizeXXL=AppConfig.isPad?ScreenUtil.getInstance().setSp(36):ScreenUtil.getInstance().setSp(48);
}

class LoginState{
  static const int unlogin=0;//未登录
  static const int logined=1;//已登录
}

class MYColors{


  static const int btnBgDisabledColor=0xFF7DDABA;
  static const int btnBgColor=0xFF00BB7A;
  static const int borderNormalColor=0xFF666666;
  static const int borderFocusColor=0xFF00BB7A;
  static const int textNormalColor=0xFF666666;
  static const int textHighlightColor=0xFF333333;
  static const int textDisabledColor=0xFF7DDABA;
  static const int textCertifiedColor=0xFF24B277;
  static const int commonBgColor=0xfff4f4f4;


}
